package com.saibo.spider.main;

import com.saibo.spider.utils.HttpRequestUtil;
import com.saibo.spider.utils.HttpResponseUtil;

public class TestMain {
	public static void main(String[] args) {
		//String url = "https://search.weixin.qq.com/cgi-bin/searchweb/getwxindex?query=%E8%92%99%E8%BF%AA%E6%AC%A7&start_time=1482548956.233&end_time=1490238556.233&_=1490324897485";
		String url = "http://weixin.sogou.com/weixin?type=2&ie=utf8&query=%E7%BB%B4%E4%BF%A1%E8%AF%BA&tsn=1&ft=&et=&interation=null&wxid=&usip=null&from=tool";
		System.out.println(HttpResponseUtil.getHtml(HttpRequestUtil.getRequestMethod(url, null)));

	}
}
